This image is drawn entirely using Bezier curves and animated only in Swift code.
500 lines of code.
The code is in the attachment.
Animation video here https://youtu.be/JNPv4qnsPA8
How it works on a real device here https://apps.apple.com/us/app/limoonik/id1629631880
This code is also here https://limooonik.store/
ContentView.swift